CommonsBooking\Model\Booking A

Total Complexity 53
Dependencies 10
Dependents 13
Total lines 406
Lines of code 218
Logical lines of code 110
Comment lines 119
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
assignBookableTimeframeFields()
S
47 6 41
bookingNotice()
S
54 6 21
formattedBookingCode()
S
59 6 13
pickupDatetime()
S
53 5 23
returnDatetime()
S
53 5 22
getBookableTimeFrame()
S
60 2 14
cancel()
S
61 2 13
isPast()
S
69 2 7
isCancelled()
S
79 2 3
bookingLink()
S
69 2 6
formattedBookingDate()
S
62 2 10
getLocation()
S
69 2 7
getItem()
S
69 2 7
sanitizeTimeField()
S
64 2 9
getStartDate()
S
80 1 3
getEndDate()
S
79 1 3
returnComment()
S
80 1 3
showBookingCodes()
S
79 1 3
bookingLinkUrl()
S
78 1 3
sendCancellationMail()
S
75 1 4
getBookingCode()
S
79 1 3